﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TGBTech.Core.Models.Models.BaoCao.BangTongHopSP;
using TGBTech.Core.Models.Services;

namespace TGBTech.WebAdmin.Controllers
{
    public class BangTongHopNVLController : Controller
    {
        //
        // GET: /BangTongHopNVL/
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Create()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Create(String Year, String TaiKhoan)
        {
            BangTongHopSPServices services = new BangTongHopSPServices();

            //==============================================================
            // Call function calculate ListModel of BangChiTietSP
            //
            //
            ViewBag.So = services.So;
            return View("Create", services.So.ListModel);

        }
	}
}